package cn.bat.slsystem.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.bat.slsystem.dao.AuNoticeMapper;
import cn.bat.slsystem.pojo.AuNotice;
@Service
public class NoticeServiceImpl implements NoticeService{
	@Autowired
	private AuNoticeMapper notice;
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return notice.deleteByPrimaryKey(id);
	}

	@Override
	public int insertSelective(AuNotice record) {
		// TODO Auto-generated method stub
		return notice.insertSelective(record);
	}

	@Override
	public List<AuNotice> selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return notice.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(AuNotice record) {
		// TODO Auto-generated method stub
		return notice.updateByPrimaryKeySelective(record);
	}

}
